
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>猜歌巨星</title>


    <link rel="shortcut icon" href="favicon.ico">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/font-awesome/4.4.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <!-- Data Tables -->
    <link href="/Public/Admin/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="/Public/Admin/css/style.min.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>猜歌巨星
                        <small>用户列表</small>
                    </h5>

                </div>
                <div class="ibox-content">

                    <table class="table table-striped table-bordered table-hover dataTables-example">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>用户ID</th>
                            <th>用户昵称</th>
                            <th>省份</th>
                            <th>城市</th>
                            <th>挑战机会</th>
                            <th>得分</th>
                            <th>已挑战次数</th>
                            <th>领奖机会</th>
                            <th>每天赠送的机会</th>
                            <th>注册时间</th>
                            <th>最后登录时间</th>            
                        </tr>
                        </thead>
                        <tbody>
                        
                      	<?php 
                        
                        	if(! empty($data['user_list']))
                            {
                            	foreach($data['user_list'] as $key => $val)
                                {
                        ?>
                        <tr class="gradeX">
                            <td>{++$key;}</td>
                            <td>{$val['song_member_id']}</td>
                            
                            <td class="feed-element">
                
                            <img alt="image" class="img-circle" src="{$val['avatarurl']}">
                            &nbsp;
                            {$val['nickname']}
                            </td>
                            <td class="center">{$val['province']}</td>
                            <td class="center">{$val['city']}</td>
                            <td class="center">{$val['opportunity']}</td>
                            <td class="center">{$val['score']}</td>
                            <td class="center">{$val['number']}</td>
                            <td class="center">{$val['prize']}</td>
                            <td class="center">{$val['giveopportunity']}</td>
                            <td class="center"><?php  echo date('Y-m-d H:i:s',$val['createtime']); ?></td>
                            <td class="center"><?php  echo date('Y-m-d H:i:s',$val['logintime']); ?></td>
                        </tr>
                        
                        
                        <?php
                        		}
                            }    
                        ?>
                        


                        </tbody>
                        
                    </table>

                </div>
            </div>
        </div>
    </div>

</div>

<script src="/Public/Admin/js/jquery.min.js?v=1.0"></script>
<script src="/Public/Admin/js/bootstrap.min.js?v=1.0"></script>
<script src="/Public/Admin/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="/Public/Admin/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<script type="text/javascript" src="/Public/Admin/js/contabs.min.js?v=1.0"></script>


</body>

</html>
